/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ar.edu.unicen.twitter.suggest.backend.dtos;

import ar.edu.unicen.twitter.suggest.commons.dtos.UserData;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
 * 
 * Representacion de user usada dentro del sistema
 * es un POJO que almacena todos los campos.
 */
public class UsuarioBasico extends UserData{

    //------------------------------------------------------------------------
    public UsuarioBasico(){
        
    }
    //Funciones que requiere Hibernate
    public void setId(long id){
        this.id = id;
    }
    public void setScreenName(String screenName) {
        this.screenName=screenName;
    }

    public void setFriendsCount(int count) {
        friendsCount = count;
    }

    public void setFollowersCount(int count) {
        followersCount =count;
    }
    
    public void setLang(String lang) {
        this.lang =lang;
    }
    
    public void setProtected(boolean isProtected) {
        this.setIsProtected(isProtected);
    }
    public void setUrl(String url) {
        this.url =url;
    }
    //-------------------------------------------------------------------------
    //implementaciones vacias para completar la interfaz
    public URL getURL() {
        try {
            return new URL(getUrl());
        } catch (MalformedURLException ex) {
            Logger.getLogger(UsuarioBasico.class.getName()).log(Level.SEVERE, null, ex);
        }return null;
    }
    
    public Date getCreatedAt() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int getFavouritesCount() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int getUtcOffset() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getTimeZone() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getProfileBackgroundImageUrl() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean isProfileBackgroundTiled() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int getStatusesCount() {
        return getTweetsCount();
    }

    public boolean isGeoEnabled() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean isVerified() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getName() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public String getLocation() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public String getDescription() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public boolean isContributorsEnabled() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public URL getProfileImageURL() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
    public Date getStatusCreatedAt() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public long getStatusId() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public String getStatusText() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public String getStatusSource() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean isStatusTruncated() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public long getStatusInReplyToStatusId() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public int getStatusInReplyToUserId() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean isStatusFavorited() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getStatusInReplyToScreenName() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getProfileBackgroundColor() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getProfileTextColor() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getProfileLinkColor() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getProfileSidebarFillColor() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public String getProfileSidebarBorderColor() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
